package main

import (
	"fmt"
)

type IMAGE_DOS_HEADER struct {
	e_magic    [2]byte
	e_cblp     uint16
	e_cp       uint16
	e_crlc     uint16
	e_cparhdr  uint16
	e_minalloc uint16
	e_maxalloc uint16
	e_ss       uint16
	e_sp       uint16
	e_csum     uint16
	e_ip       uint16
	e_cs       uint16
	e_lfarlc   uint16
	e_ovno     uint16
	e_res      [4]byte
	e_oemid    uint16
	e_oeminfo  uint16
	e_res2     [10]byte
	e_lfanew   uint32
}

func main() {
	dosHeader := IMAGE_DOS_HEADER{
		e_magic:    [2]byte{'M', 'Z'},
		e_lfanew:   0x3C,
	}

	fmt.Printf("IMAGE_DOS_HEADER: %+v
", dosHeader)
}
